package com.situ.mall.order.controller;

import com.situ.mall.base.entity.MemberAddress;
import com.situ.mall.base.service.IMemberAddressService;
import com.situ.mall.base.util.URLUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * ClassName: MemberAddressController
 * Package: com.situ.mall.order.controller
 * Description:
 *
 * @Author Darling_达
 * @Create 2023-04-12 10:19
 * @Version 1.0
 */

@Controller
@RequestMapping(URLUtil.MEMBER_ADDRESS)
public class MemberAddressController {

    @Autowired
    private IMemberAddressService memberAddressService;

    @PostMapping(URLUtil.ADD)
    @ResponseBody
    public void add(MemberAddress ma) {
        System.out.println(ma);
    }


}
